package blog.dao.mapper;

import blog.dao.dos.Archives;
import blog.dao.pojo.Article;
import blog.vo.params.PageParams;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface ArticleMapper extends BaseMapper<Article> {

    List<Archives> listArchives();

    IPage<Article> listArticles(Page<Article> page,Long categoryId,Long tagId,String year,String month);
}
